package com.mall.shopping.constant;

/**
 * @author: xrj
 * @date: 2022/5/1 22:51
 * @description:
 */
public enum ShoppingServiceEnum {

    SUCCESS("10000", "成功"),
    DATA_QUERY_ERROR("30001", "商品数据查询异常");

    private String code;
    private String msg;

    ShoppingServiceEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
